﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace SMS.DAL.Providers
{
    //public static class ConnectionSingleTone
    //{
    //    internal static string ConnectionString { set; get; }
    //    private static Fady_HanyDbEntities1 _instace { set; get; }

    //    public static Fady_HanyDbEntities1 _Connection()
    //    {

    //        if (_instace == null)
    //        {
    //            //ConnectionString = ConfigurationManager.ConnectionStrings["Fady_HanyDbEntities1"].ToString();
    //            //_instace = new Fady_HanyDbEntities1(@"Data Source=.\SQLEXPRESS;Initial Catalog=Fady_HanyDb;Integrated Security=True");
    //            _instace = new Fady_HanyDbEntities1();
    //        }
    //        return _instace;
    //    }
    //}
}